import request from '@/utils/request'

export function getModelTop(stationId) {
  return request({
    url: `/api/v1/getModelTop?permission=getModelTop&stationId=${stationId}`,
    method: 'get'
  })
}

export function getModelLeft(stationId) {
  return request({
    url: `/api/v1/getModelLeft?permission=getModelLeft&stationId=${stationId}`,
    method: 'get'
  })
}

export function getModelEnv(data) {
  return request({
    url: `/api/v1/getModelEnv?permission=getModelEnv&stationId=${data.stationId}&ycIds=${data.ycIds}&yxIds=${data.yxIds}`,
    method: 'post'
  })
}
